package lero.vo;

/**
 * 作者: lero
 * 日期：2018/7/9
 */

public class ArticleVo extends Pager{

    private String searchKey;

    private String hotOrNot="";

    private String viewOrNot="";

    private  int   categoryId;

    public int getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(int categoryId) {
        this.categoryId = categoryId;
    }

    public String getHotOrNot() {
        return hotOrNot.trim();
    }

    public void setHotOrNot(String hotOrNot) {
        this.hotOrNot = hotOrNot;
    }

    public String getViewOrNot() {
        return viewOrNot.trim();
    }

    public void setViewOrNot(String viewOrNot) {
        this.viewOrNot = viewOrNot;
    }

    public String getSearchKey() {
        return searchKey.trim();
    }

    public void setSearchKey(String searchKey) {
        this.searchKey = searchKey;
    }

    @Override
    public String toString() {
        return "ArticleVo{" +
                "searchKey='" + searchKey + '\'' +
                ", hotOrNot='" + hotOrNot + '\'' +
                ", viewOrNot='" + viewOrNot + '\'' +
                ", categoryId=" + categoryId +
                '}';
    }
}
